<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page session="true"%>
<%@include file="/tag.jsp"%>



<!DOCTYPE html>
<!--[if IE 9 ]><html class="ie ie9" lang="en" class="no-js"> <![endif]-->
<!--[if !(IE)]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->

<head>
	<title>出租房智能管理系统</title>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="description" content="KingAdmin Dashboard">
	<meta name="author" content="The Develovers">

	<!-- CSS -->
	<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css?Ver=20150831">
	<link href="${ctx}/resources/css/font-awesome.min.css?Ver=20150831" rel="stylesheet" type="text/css">
	<link href="${ctx}/resources/css/main.css?Ver=20150831" rel="stylesheet" type="text/css">

	<!--[if lte IE 9]>
		<link href="${ctx}/resources/css/main-ie.css" rel="stylesheet" type="text/css" />
		<link href="${ctx}/resources/css/main-ie-part2.css" rel="stylesheet" type="text/css" />
	<![endif]-->

	<!-- Fav and touch icons -->
	<link rel="apple-touch-icon-precomposed" sizes="144x144" href="${ctx}/resources/images/kingadmin-favicon144x144.png">
	<link rel="apple-touch-icon-precomposed" sizes="114x114" href="${ctx}/resources/images/kingadmin-favicon114x114.png">
	<link rel="apple-touch-icon-precomposed" sizes="72x72" href="${ctx}/resources/images/kingadmin-favicon72x72.png">
	<link rel="apple-touch-icon-precomposed" sizes="57x57" href="${ctx}/resources/images/kingadmin-favicon57x57.png">
	<link rel="icon" href="${ctx_cdn}/resources/favicon.ico">
	<!-- Javascript -->
	<script type="text/javascript" src="//cdn.bootcss.com/jquery/2.1.4/jquery.min.js?Ver=20150831"></script>
	<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js?Ver=20150831"></script>
	<script src="${ctx}/resources/js/modernizr.js?Ver=20150831"></script>

</head>

<body>
	<div class="wrapper full-page-wrapper page-auth page-login text-center">
		<div class="inner-page">
			<div class="logo">
				<a href="index.html"><img src="${ctx}/resources/images/kingadmin-logo.png" alt="" /></a>
			</div>

			<div class="login-box center-block">
				<form class="form-horizontal" role="form" method="post" action="<c:url value='/auth/login_check?targetUrl=${targetUrl}' />">
					<c:if test="${!empty message}">  
                             <div class="alert alert-info" role="alert">${message}</div>
                 	</c:if> 
	                 <c:if test="${!empty error}">  
	                             <div class="alert alert-warning" role="alert">${error}</div>
	                 </c:if> 
					<div class="form-group">
						<label for="username" class="control-label sr-only">Username</label>
						<div class="col-sm-12">
							<div class="input-group">
								<input type="text" placeholder="用户名" id="username" name="username" class="form-control">
								<span class="input-group-addon"><i class="fa fa-user"></i></span>
							</div>
						</div>
					</div>
					<label for="password" class="control-label sr-only">Password</label>
					<div class="form-group">
						<div class="col-sm-12">
							<div class="input-group">
								<input type="password" placeholder="密码" id="password"  name="password" class="form-control">
								<span class="input-group-addon"><i class="fa fa-lock"></i></span>
							</div>
						</div>
					</div>
					<label class="fancy-checkbox">
						<input type="checkbox" name="remember-me">
						<span>记住我</span>
					</label>
					   	<input type="hidden" name="${_csrf.parameterName}" value="${_csrf.token}" />
					<button class="btn btn-custom-primary btn-lg btn-block btn-auth"><i class="fa fa-arrow-circle-o-right"></i> 登入</button>
				</form>

				<div class="links">
					<p><a href="#">忘记密码?</a></p>
					<p><a href="#">注册</a></p>
				</div>
			</div>
		</div>
	</div>

	<footer class="footer">&copy; 2014-2015 跳跳集团控股有限公司</footer>
	
</body>

</html>


